package com.yuantu.judiciary.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 搜索内容数据
 *
 * @author syw
 * @since 2023-07-11
 **/
@Data
@ApiModel("搜索内容表单")
@AllArgsConstructor
@NoArgsConstructor
public class SearchRecordContentDTO {
    @ApiModelProperty("个人尽调-姓名/企业尽调-名称/知识产权尽调-搜索内容")
    private String name;
    @ApiModelProperty("身份证号")
    private String idNumber;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("统一社会信用代码")
    private String creditCode;

    public SearchRecordContentDTO(String name, String idNumber, String phone) {
        this.name = name;
        this.idNumber = idNumber;
        this.phone = phone;
    }

    public SearchRecordContentDTO(String name, String idNumber) {
        this.name = name;
        this.idNumber = idNumber;
    }
}
